﻿using System;
using System.Collections.Generic;
using System.Text;
using Simp.CodeModel;
using Simp.CodeModel.CoreFunctions;

namespace Simp.CodeModel
{
	/// <summary>Represents the capacity of being serialized to a <see cref="string"/>.</summary>
	public interface IFunctionSerializer
	{
		/// <summary>Serializes itself into a <see cref="string"/>.</summary>
		/// <param name="builder"></param>
		/// <param name="parameters"></param>
		void Serialize(AppendOnlyStringBuilder builder, params IFunction[] parameters);
	}
}